package game.breeze;

import game.breeze.assets.Assets;
import game.breeze.assets.NpcAssets;
import game.breeze.assets.StartAssets;

import com.badlogic.gdx.ApplicationListener;
import com.badlogic.gdx.Game;
import com.badlogic.gdx.graphics.TextureDict;

public class GameStarter implements ApplicationListener {
	private Game game;

	@Override
	public void create() {
		game = new Breeze();
		game.create();
	}

	@Override
	public void dispose() {
		game.dispose();
		TextureDict.unloadAll();
		NpcAssets.unload();
		Assets.unload();
		StartAssets.unload();
	}

	@Override
	public void pause() {
		game.pause();
	}

	@Override
	public void render() {
		game.render();
	}

	@Override
	public void resize(int width, int height) {
		game.resize(width, height);
	}

	@Override
	public void resume() {
		game.resume();
	}
}
